package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 邀约失败原因
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-22
 */
@Data
@TableName("enroll_invite_fail_cause")
@ApiModel(value = "EnrollInviteFailCause对象", description = "邀约失败原因")
public class EnrollInviteFailCause implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("客户id")
    private Long customerId;

    @ApiModelProperty("话术id")
    private Long speechId;

    @ApiModelProperty("其它原因内容")
    private String content;

    @ApiModelProperty("1正常，2其它原因")
    private Integer type;

    @ApiModelProperty("是否处理，0否，1是")
    private Integer isDispose;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.INSERT)
    private Long createdId;

    /**
     * 话术标题
     */
    @TableField(exist = false)
    private String title;

    /**
     * 话术详情
     */
    @TableField(exist = false)
    private String verbalTrick;

    /**
     * 阅读时间
     */
    @TableField(exist = false)
    private Integer readingTime;

    @TableField(exist = false)
    private String teacherName;
}
